package com.lemon.smartsafety.entity.safe.company;

import com.lemon.smartsafety.entity.common.SelectDataI;

import java.io.Serializable;

/**
 * Created by Cooliean on 16/4/13.
 * 建筑分组
 */
public class CompanyBuildingGroupVo implements Serializable, SelectDataI {

    private String groupId     = "";
    private String groupName   = "";
    private String remark      = "";
    private String companyCode = "";

    private boolean isSelected = false;

    public CompanyBuildingGroupVo(String groupName) {
        this.groupName = groupName;
    }

    public CompanyBuildingGroupVo() {
        this.groupName = groupName;
    }

    @Override
    public String getTitle() {
        return getGroupName();
    }

    @Override
    public String getValue() {
        return getGroupId();
    }

    @Override
    public boolean isSelectedI() {
        return isSelected();
    }

    @Override
    public void setSelectedI(boolean sel) {
        setSelected(sel);
    }

    @Override
    public Object getOther() {
        return getCompanyCode();
    }


    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }
}
